package yl.hs.bmipfull.utils.OrderImg;

import java.awt.*;

/*
 * ImgColumn
 * @category
 * @author 谢景广
 * @date 2022-04-12
 */
public class ImgColumn {
    private int width;
    private String key;
    private int index;
    public ImgColumn()
    {
        foreColor = Color.black.toString();
    }
    private ImgFont textFont;
    private ImgCellTextAlign textAlign = ImgCellTextAlign.Left;
    private ImgCellVerticalAlign verticalAlign = ImgCellVerticalAlign.Middle;
    private String foreColor;

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public int getIndex() {
        return index;
    }

    public void setIndex(int index) {
        this.index = index;
    }

    public ImgFont getTextFont() {
        return textFont;
    }

    public void setTextFont(ImgFont textFont) {
        this.textFont = textFont;
    }

    public ImgCellTextAlign getTextAlign() {
        return textAlign;
    }

    public void setTextAlign(ImgCellTextAlign textAlign) {
        this.textAlign = textAlign;
    }

    public ImgCellVerticalAlign getVerticalAlign() {
        return verticalAlign;
    }

    public void setVerticalAlign(ImgCellVerticalAlign verticalAlign) {
        this.verticalAlign = verticalAlign;
    }

    public String getForeColor() {
        return foreColor;
    }

    public void setForeColor(String foreColor) {
        this.foreColor = foreColor;
    }
}
